package com.sc.nft.controller.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.OrderStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


@Data
@NoArgsConstructor
public class CollectiveOrderPageVO implements Serializable {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("集售id")
    private Long collectiveId;
    @ApiModelProperty("藏品名称")
    private String collectionName;
    @ApiModelProperty("缩略图")
    private String creationContent;
    @ApiModelProperty("藏品编号")
    private Integer numbering;
    @ApiModelProperty("成交价")
    private String buyPrice;
    @ApiModelProperty("状态")
    private OrderStatusEnum status;
    @ApiModelProperty("订单编号")
    private String orderNo;
    @ApiModelProperty("下单时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderTime;
    @ApiModelProperty("支付时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;
    @ApiModelProperty("取消时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date cancelTime;


}